<html>
<head>
    <title>Test Application</title>
    <link rel=stylesheet href="Test.css">
</head>
<body>
<form>
    <script language="javascript" type="text/javascript">
        var richTextAreas = {
            field1: 'field1'
        };
        var field1 = {
            cssUrl: 'http://www.desjepap.be/stijl.css',
            width: '800',
            height: '250'
        };
        function cssLoad(id) {
            return 'een test van wouter';
        }
        function pop(url, target, breedte, hoogte, scroll) {
            var w = (window.screen.availWidth - breedte) / 2;
            var h = (window.screen.availHeight - hoogte) / 2;
            var s = scroll ? 'yes' : 'no';
            url = url ? url : 'http://www.sint-pietersinstituut.be/admin/js/pop.html';
            newWin = window.open(url, target, 'scrollbars=' + s + ',resizable=yes,width=' + breedte + ',height=' + hoogte + ',screenX=' + w + ',screenY=' + h + ',top=' + h + ',left=' + w);
            if (!newWin.opener) {
                newWin.opener = self;
            }
            setTimeout('newWin.focus()', 250); // put focus on new window
        }

    </script>
    <script language="javascript" src="Test.nocache.js"></script>
    <a href="Javascript:cssClass('field1','titel')">titel</a> |
    <a href="Javascript:cssClass('field1','citaat')">citaat</a> |
    <a href="Javascript:cssClass('field1','')">verwijder opmaak</a> |
    |
    <a href="Javascript:cssImg('field1','<img src=http://bp0.blogger.com/_1WilE8u-7wo/RvVdBiZnuNI/AAAAAAAAAFs/xC6RfPc-2xk/S184/8.jpg align=right>')">foto</a>
    |
    <a href="Javascript:cssLink('field1','http://www.test.be/',' target=_blank')">link</a> |
    <a href="Javascript:cssUnLink('field1')">verwijder link</a> |
    |
    <a href="Javascript:cssPaste('field1')">paste</a>
    <a href="Javascript:alert('should save \'' + cssGet('field1') + '\'')">save</a>

    <div id="field1">&nbsp;</div>
</form>
</body>
</html>
